package com.yty.dao;

import com.yty.param.StudentQueryParam;
import com.yty.pojo.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentMapper {

    List<Student> findStudent(StudentQueryParam param);

    Integer addStudent(Student student);

    Integer findClazzIsExist(Integer... ids);

    Integer deleteStudentById(Integer... ids);

    Student findStudentById(Integer id);

    Integer updateStudent(Student student);

    Integer updateStudentViolation(Integer id, Integer score);
}
